<?php if($thread['content_buy'] > 0)
{ ?><i class="icon-shopping-cart" style="color:<?php echo $first['purchased']=='1'?'green':'gold';?>;" aria-hidden="true" title="Purchase NOW!"></i> <?php } ?>